package work.chenbo.springboot.jap.dao;

import org.springframework.data.repository.Repository;
import work.chenbo.springboot.jap.entity.Users;

import java.util.List;

/**
 * @className UserRepository
 * @authtor ChenBo
 * @date 2020/4/15
 */
public interface UserRepository extends Repository<Users,Integer> {

    /**
    *
    * @author; ChenBo
    * @datetime: 2020/4/15
    */
    List<Users> findByStatus(Integer state);
}
